<template>
  <div>
    <div class="loading">
      <van-loading />
      <div class="text">加载中...</div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'PageLoading'
}
</script>
<style lang="less" scoped>
.text {
  padding: 5px 0;
}
.loading {
  z-index: 999;
  position: fixed;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  width: 23.46667vw;
  max-width: 70%;
  min-height: 23.46667vw;
  padding: 4.26667vw;
  color: #fff;
  font-size: 3.73333vw;
  line-height: 5.33333vw;
  white-space: pre-wrap;
  text-align: center;
  word-break: break-all;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 2.13333vw;
  transform: translate3d(-50%, -50%, 0);
}
</style>
